package cn.spike.org.mapper;

import cn.spike.basic.mapper.BaseMapper;
import cn.spike.org.domain.Employee;

import java.util.List;

public interface EmployeeMapper  extends BaseMapper<Employee> {

    List<Long> patchSelectLogininfoId(List<Long> ids);

    void delEmployeeRoleByEmployeeId(Long id);

    void addEmployeeRole(Employee employee);

    void patchDelEmpRoleByEmpId(List<Long> ids);

    Employee loadByLogininfoId(Long id);

    List<Employee> queryByShopId(Long shop_id);

}
